<template>
    <div class="real-name-auth-popup" v-show="isShowLayer">
        <div class="real-content">
            <h1 class="title">您还没有实名认证</h1>
            <h2 class="sub-title">请您通过实名认证，才能购买商品</h2>
            <div class="real-btn">
                <button @click="underStandHandle()">朕知道了</button>
                <button>立即认证</button>
            </div> 
        </div>
    </div>
</template>

<script>
    export default {
        name: 'realNameAuthPopup',
        watch: {

        },
        created() {

        },
        mounted() {

        },
        data() {
            return {
                isShowLayer: false
            };
        },
        methods: {
            underStandHandle() {
                this.$emit('my-event');
            }
        },
        computed: {

        },
        components: {

        }
    };

</script>

<style lang="scss" scoped>
    .real-name-auth-popup {
        position: fixed;
        left: 50%;
        top: 50%;
        z-index: 999999;
        width: 596px;
        height: 628px;
        background: url(/images/certifiedBullet_box.png) no-repeat;
        background-size: 596px 628px;
        /* margin: -314px 0 0 -298px; */
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        text-align: center;
        .real-content {
            margin-top: 309px;
            .title {
                font-weight: normal;
                font-size: 43px;
                line-height: 72px;
                color: #000;
            }

            .sub-title {
                font-weight: normal;
                font-size: 32px;
                color: #737272;
            }

            .real-btn {
                display: flex;
                display: -webkit-flex;
                flex-direction: row;
                -webkit-flex-direction: row;
                justify-content: center;
                -webkit-justify-content: center;
                margin-top: 88px;
                button {
                    display: block;
                    width: 218px;
                    height: 73px;
                    background-color: #5beae7;
                    font-weight: normal;
                    font-size: 28px;
                    line-height: 73px;
                    color: #fff;
                    border-radius: 37px;
                    text-align: center;
                    &:first-of-type {
                        margin-right: 26px;
                        color: #737272;
                        background-color: #fff;
                        border: 1px solid #131313;
                    }
                }
            }
        }
    }
</style>
